package com.ruoyi.yuan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 评论对象 yuan_comment
 * 
 * @author guifeng
 * @date 2022-09-22
 */
public class Comment extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论id */
    private Long commentId;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 媒体1 */
    @Excel(name = "媒体1")
    private String media1;

    /** 媒体2 */
    private String media2;

    /** 媒体3 */
    private String media3;

    /** 媒体4 */
    private String media4;

    /** 媒体5 */
    private String media5;

    /** 媒体6 */
    private String media6;

    /** 媒体7 */
    private String media7;

    /** 媒体8 */
    private String media8;

    /** 媒体9 */
    private String media9;

    /** 网格 */
    @Excel(name = "网格")
    private Long onCell;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setCommentId(Long commentId) 
    {
        this.commentId = commentId;
    }

    public Long getCommentId() 
    {
        return commentId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setMedia1(String media1) 
    {
        this.media1 = media1;
    }

    public String getMedia1() 
    {
        return media1;
    }
    public void setMedia2(String media2) 
    {
        this.media2 = media2;
    }

    public String getMedia2() 
    {
        return media2;
    }
    public void setMedia3(String media3) 
    {
        this.media3 = media3;
    }

    public String getMedia3() 
    {
        return media3;
    }
    public void setMedia4(String media4) 
    {
        this.media4 = media4;
    }

    public String getMedia4() 
    {
        return media4;
    }
    public void setMedia5(String media5) 
    {
        this.media5 = media5;
    }

    public String getMedia5() 
    {
        return media5;
    }
    public void setMedia6(String media6) 
    {
        this.media6 = media6;
    }

    public String getMedia6() 
    {
        return media6;
    }
    public void setMedia7(String media7) 
    {
        this.media7 = media7;
    }

    public String getMedia7() 
    {
        return media7;
    }
    public void setMedia8(String media8) 
    {
        this.media8 = media8;
    }

    public String getMedia8() 
    {
        return media8;
    }
    public void setMedia9(String media9) 
    {
        this.media9 = media9;
    }

    public String getMedia9() 
    {
        return media9;
    }
    public void setOnCell(Long onCell) 
    {
        this.onCell = onCell;
    }

    public Long getOnCell() 
    {
        return onCell;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commentId", getCommentId())
            .append("parentId", getParentId())
            .append("content", getContent())
            .append("media1", getMedia1())
            .append("media2", getMedia2())
            .append("media3", getMedia3())
            .append("media4", getMedia4())
            .append("media5", getMedia5())
            .append("media6", getMedia6())
            .append("media7", getMedia7())
            .append("media8", getMedia8())
            .append("media9", getMedia9())
            .append("onCell", getOnCell())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .toString();
    }
}
